* {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

nav {
    margin-top: 100px;
    height: 80px;
    display: flex;


}

.nav_right {
    height: 80px;
    display: inline-block;
    width: 650px;
    display: flex;
    flex-direction: column;

    .nav_text {
        display: flex;
        height: 20px;
        margin-top: 3px;

        p {
            font-size: 12px;
            padding: 0 7px;
            color: #878787;
        }
    }


    .box_nav {
        width: 650px;
        border: 2px #F03726 solid;
        height: 35px;
        display: flex;
        justify-content: space-between;

        input {
            width: 500px;
            outline: none;
            height: 30px;
            text-indent: 2em;
            border: none;

        }

        >div {
            height: 35px;
            width: 80px;
            background-color: #F03726;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: larger;
            color: antiquewhite;
        }
    }

}

section {
    display: flex;
    width: 1200px;
    margin-top: 30px;

    div:nth-child(1) {
        height: 40px;
        border: 1px solid #ababab;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;

        p {
            width: 80px;
            font-size: 12px;
        }

        input {
            height: 20px;
            width: 40px;
            border: 1px solid #ababab;
        }
    }

    div:nth-child(2) {
        height: 40px;
        border: 1px solid #ababab;
        flex: 5;
    }
}

.goods_list {
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;

    .good {
        width: 240px;
        box-sizing: border-box;
        border: 1px solid #cfcfcf;
        height: 344px;
        padding: 10px 20px 0 20px;

        img {
            width: 100%;
            height: 200px;
        }

        .text {
            width: 100%;
            height: 33px;
            overflow: hidden;
            margin: 2px 0;
            font-size: small;
        }

        .prise {
            margin: 2px 0;
            color: red;
            font-size: 20px;

            span:nth-child(2) {
                font-size: small;
                color: #878787;
                text-decoration: line-through;
                margin: 0 8px;
            }
        }

        .shop_info {
            margin-bottom: 5px;

            span:nth-child(2) {
                font-size: small;
                color: #878787;
                // text-decoration: line-through;
                margin: 0 8px;
            }
        }

        .xiaoliang {
            padding-top: 5px;
            font-size: small;
            color: #878787;
            // text-decoration: line-through;
            margin: 0 8px;
            text-align: end;
        }
    }
}

.icon-fangdajing {
    color: #F03726;
    font-size: small;
    display: inline-block;

}